package com.caiyi.tips.user.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/*
 * @author Cliff.ZhouYang
 * @date 2017/11/8 16:24
 */
@Data
public class SmsBean implements Serializable {
    private String phone;//手机号

    @ApiModelProperty(value = "6位短信验证码", hidden = true)
    private String random;//短信验证码 (2017年1月11日：6位随机数字)

    @ApiModelProperty(value = "验证码用途(0手机号注册 1重置密码 2手机号换绑)", required = true)
    private Integer yzmType;//验证码用途（0手机号注册 1忘记密码 2手机号换绑）

    @ApiModelProperty(value = "通道类型(0文本1语音)", required = false)
    private int channelType;//0文本1语音

    @ApiModelProperty(value = "ip地址", hidden = true)
    private String ipAddr;//ip

    @ApiModelProperty(value = "用户类型(0推单用户 1普通用户)", required = true)
    private int userType;//用户类型 0推单用户 1普通用户

    @ApiModelProperty(value = "短信内容", hidden = true)
    private String content;//短信内容

    @ApiModelProperty(value = "错误码", hidden = true)
    private String errCode;//1 成功

    @ApiModelProperty(value = "错误描述", hidden = true)
    private String errDesc;

    @ApiModelProperty(value = "渠道值", hidden = true)
    private String source;
}
